package org.apache.rocketmq.console.shiro.dao;

import java.util.List;

import org.apache.rocketmq.console.shiro.entity.UserInfo;
import org.springframework.data.repository.CrudRepository;

public interface UserInfoDao extends CrudRepository<UserInfo, Integer> {
	/** 通过name查找用户信息; */
	public UserInfo findByName(String name);
	List<UserInfo> findAll();
}